package com.zbkj.common.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单购物详情表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_store_order_info")
@ApiModel(value="StoreOrderInfo对象", description="订单购物详情表")
public class StoreOrderInfo implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "订单id")
      private Integer orderId;

      @ApiModelProperty(value = "商品ID")
      private Integer productId;

      @ApiModelProperty(value = "购买东西的详细信息")
      private String info;

      @ApiModelProperty(value = "唯一id")
      private String unique;

      @ApiModelProperty(value = "创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;

      @ApiModelProperty(value = "订单号")
      private String orderNo;

      @ApiModelProperty(value = "商品名称")
      private String productName;

      @ApiModelProperty(value = "规格属性值id")
      private Integer attrValueId;

      @ApiModelProperty(value = "商品图片")
      private String image;

      @ApiModelProperty(value = "商品sku")
      private String sku;

      @ApiModelProperty(value = "商品价格")
      private BigDecimal price;

      @ApiModelProperty(value = "购买数量")
      private Integer payNum;

      @ApiModelProperty(value = "重量")
      private BigDecimal weight;

      @ApiModelProperty(value = "体积")
      private BigDecimal volume;

      @ApiModelProperty(value = "赠送积分")
      private Integer giveIntegral;

      @ApiModelProperty(value = "是否评价，0-未评价，1-已评价")
      private Boolean isReply;

      @ApiModelProperty(value = "是否单独分佣,0-否，1-是")
      private Boolean isSub;

      @ApiModelProperty(value = "会员价")
      private BigDecimal vipPrice;

      @ApiModelProperty(value = "商品类型:0-普通，1-秒杀，2-砍价，3-拼团，4-视频号")
      private Integer productType;


}
